package com.loong.coupon.common.backend.param;

import lombok.*;

import javax.validation.Valid;
import java.util.List;

/**
 * @Description:
 * @Author: LiuQun
 * @Date: 2021/1/11 17:16
 */
@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class CouponAndApplyRuleParam {

    /**
     * 优惠券参数
     */
    @Valid
    private CouponParam couponParam;

    /**
     * 优惠券适用规则参数集合
     */
    @Valid
    private List<CouponApplyRuleParam> ruleParamList;
}
